//
//  Person.m
//  %@格式description NSArray  NSString的方法，使用和排序
//
//  Created by mac on 16-4-12.
//  Copyright (c) 2016年 huanghui. All rights reserved.
//

#import "Person.h"

@implementation Person
- (void)eat
{
    NSLog(@"Person %@ eats!", self.name);
}

- (void)sleep
{
    NSLog(@"Person %@ sleep!",self.name);
}

- (void)talk:(NSString *)text
{
    NSLog(@"Person %@ says: %@!", self.name, text);
}

@end
